#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QMouseEvent> //鼠标类头文件
#include <QPushButton> //按钮类文件

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private:
    Ui::MainWindow *ui;
    /*QPushButton * btnClose;//定义btn对象
    QPoint last;
protected:
    void mousePressEvent( QMouseEvent * e);//鼠标按下
    void mouseMoveEvent(QMouseEvent* e);//鼠标移动
    void mouseReleaseEvent(QMouseEvent* e);//鼠标释放

    */

};

#endif // MAINWINDOW_H
